package net.butfly.albacore.entity;

import java.io.Serializable;

public abstract class BasicEntity<K extends Serializable> extends AbstractEntity {
	private static final long serialVersionUID = 1L;
	public static final String ID_FIELD = "ID";
	// @SuppressWarnings("unchecked")
	// private Class<? extends Serializable> clazz = (Class<? extends
	// Serializable>) GenericUtils.getGenericParamClass(
	// this.getClass(), BasicEntity.class, "K");

	// public Class<? extends Serializable> getKeyClass() {
	// return clazz;
	// }

	protected K id;

	public K getId() {
		return id;
	}

	public void setId(K id) {
		this.id = id;
	}
}
